<%@ Page 
Language="C#" 
AutoEventWireup="true" 
CodeFile="contact.aspx.cs" 
Inherits="contact" 
Title="Contact us" %>
<%@ Register Src="Controls/CMS.ascx" TagName="CMS" TagPrefix="cms" %>

<%--<asp:Content ID="Content1" ContentPlaceHolderID="TopContent" Runat="Server">
    <cms:CMS ID="CMS1" runat="server" />
</asp:Content>--%>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

    
    
    <asp:PlaceHolder runat="server" ID="phBooking" Visible="false">
        <cms:CMS id="cmsBooking" runat="server" instance="10" Visible="true" />
        <fieldset><legend>Booking</legend>
            <label for="cottage">Number of people: <br />
                <input runat="server" name="people" type="text" id="people" size="30" />
            </label>
            <br />
            <label for="startdate">Booking date: <br />
                <input runat="server" name="bookingDate" type="text" id="bookingDate" size="30" />
            </label>
            <br />
            <label for="enddate">Booking time: <br />
                <input runat="server" name="bookingTime" type="text" id="bookingTime" size="30" />
            </label>
        </fieldset>
        <br />
    </asp:PlaceHolder>
    
    
    <asp:Image runat="server" ImageUrl="<%$ Resources:Resource, contactFrame %>" ImageAlign=Left />
    <%--<img src="<%$ Resources:Resource, contactFrame %>" hspace="0" vspace="0" align="left" />--%>
    <br></br>
    <img src="static/images/HoseWebsitePage5_06.jpg" hspace="0" vspace="0" align="left" />
    
    <img src="static/images/HoseWebsitePage5_main.jpg" hspace="0" vspace="0" />
    
    
    <asp:Label runat="server" ID="lblMSG" BackColor="lightYellow" />
    <cms:CMS id="cmsEmailSuccess" runat="server" instance="2" Visible="false" />
    
    
    <fieldset><legend> <asp:Literal ID="litContactDetail" runat="server" meta:resourceKey="litContactDetails" Text="3" Visible=false/></legend>
    <asp:Label ID="Label1" runat="server" meta:resourceKey="litContactDetails" Text="3"></asp:Label><br/><br/>
    
<%--    <label for="emailTo"><asp:Literal ID="litEmailTo" runat="server" meta:resourceKey="litEmailTo"/>:
    <asp:DropDownList name="emailTo" id="DropDownList1" runat="server">
        <asp:ListItem Value="admin@hosetoys.com.hk">admin@hosetoys.com.hk</asp:ListItem>
        <asp:ListItem Value="gingzero@gmail.com">gingzero@gmail.com</asp:ListItem>
    </asp:DropDownList>
    <br /><br />--%>
    
    <table class="normal" align="left">
    <tr>
    <td>
    <label for="name"><asp:Literal ID="litYourName" runat="server" meta:resourceKey="litYourName"/>:</label>
    </td>
    <td>
    <input runat="server" name="name" type="text" id="name" size="54" />
        <asp:RequiredFieldValidator 
        ID="RequiredFieldValidator2" 
        runat="server" 
        ControlToValidate="name"
        ErrorMessage="Please enter your name" 
        Display="Dynamic"
        ValidationGroup="Contact"
        />
    </td>
    </tr>
    
    <tr>
    <td>
    <label for="company"><asp:Literal ID="litCompany" runat="server" meta:resourceKey="litCompany"/>:</label>
    </td>
    <td>
    <input runat="server" name="company" type="text" id="company" size="54" />
    </td>
    </tr>

    <tr>
    <td>
	<label for="email"><asp:Literal ID="litEmail" runat="server" meta:resourceKey="litEmail"/>:</label>
	</td>
	<td>
    <input runat="server" name="email" type="text" id="email" size="54" />
        <asp:RequiredFieldValidator 
        ID="RequiredFieldValidator1" 
        runat="server" 
        ControlToValidate="email"
        ErrorMessage="Please enter your email address" 
        Display="Dynamic" 
        ValidationGroup="Contact"
        />
    </td>
    </tr>

    <tr>
    <td>
    <label for="telephone"><asp:Literal ID="litTelephone" runat="server" meta:resourceKey="litTelephone"/>:</label>
    </td>
    <td>
    <input runat="server" name="telephone" type="text" id="telephone" size="54" />
	</td>
	</tr>
	
	<tr>
	<td>
	<label for="title"><asp:Literal ID="litTitle" runat="server" meta:resourceKey="litTitle"/>:</label>
	</td>
	<td>
    <input runat="server" name="title" type="text" id="title" size="54" />
    </td>
    </tr>
    
    <tr>
    <td>
    <asp:Literal ID="litMessage" runat="server" meta:resourceKey="litMessage"/> <br />
    </td>
    <td>
    <textarea runat="server" name="body" cols="40" rows="5" id="body" ></textarea>
        <asp:RequiredFieldValidator 
        ID="RequiredFieldValidator3" 
        runat="server" 
        ControlToValidate="body"
        ErrorMessage="Please enter a message" 
        Display="Dynamic"
        ValidationGroup="Contact"
        />
    <input runat="server" type="image" name="Submit"  id="Submit1" onserverclick="Submit_ServerClick" src="static/images/HoseWebsitePage5_send.jpg"/>
    <asp:HiddenField runat="server" ID="hdnPrevious" />
    </td>
    </tr>
    
    
    </table>
  </fieldset>


</asp:Content>

